/*
 * @(#)WorkflowErrorConstant.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.workflow;

/**
  WorkflowErrorConstant.java

  This class is to store all error code constants which used in systems.

    @author          Angus Shiu
    @company         DCIVision Limited
    @creation date   4/08/2003
    @version         $Revision: 1.28 $
*/

public class WorkflowErrorConstant extends com.dcivision.framework.ErrorConstant{

  public static final String REVISION = "$Revision: 1.28 $";

  protected WorkflowErrorConstant() {
  }

  public final static String DUPLICATE_GROUP_NAME = "errors.workflow.duplicate_group_name";
  public final static String UNKNOWN_WORKFLOW_ACTION_TYPE = "errors.workflow.unknown_action_type";
  public final static String CONTENT_HANDLER_CLASS_NOT_FOUND = "errors.workflow.content_handler_class_not_found";
  public final static String INVALID_WORKFLOW_RULE_STATUS = "errors.workflow.invalid_workflow_rule_status";
  public final static String WORKLFOW_PROCESSOR_CLASS_NOT_FOUND = "errors.workflow.workflow_processor_class_not_found";
  public final static String STEP_ALREADY_LINK_TO_END_STEP = "errors.workflow.step_already_link_to_end_step";
  public final static String NOT_END_WITH_END_STEP = "errors.workflow.not_end_with_end_step";
  public final static String NOT_ASSIGN_WITH_USER_ACTOR = "errors.workflow.not_assign_with_user_actor";
  public final static String DUPLICATE_WORKFLOW_CODE_VERSION = "errors.workflow.duplicate_workflow_code_version";
  public final static String EXIST_WORKFLOW_RECORD_IS_EFFECTIVE = "errors.workflow.exist_workflow_record_is_effective";
  public final static String NEW_ROUTE_NUMERIC_VALUE = "errors.workflow.new_route_numeric_value";
  public final static String OPERATOR_NUMERIC_VALUE = "errors.workflow.operator_numeric_value";
  public final static String DUPLICATE_STEP_SEQ = "errors.workflow.duplicate_step_seq";
  public final static String QUERY_NAME_DUPLICATE = "errors.workflow.duplicate_query_name";
  public final static String QUERY_TYPE_DUPLICATE = "errors.workflow.duplicate_query_type_default";
  public final static String CAN_NOT_USE_DYNAMIC_ASSIGN_AFTER_SUBMIT_TASK_OF_SUB_WORKFLOW_INTERRUPT ="errors.workflow.dynamic_assign_is_not_allowed_after_submit_task_of_sub_workflow_interrupt";
  public final static String CAN_NOT_USE_DYNAMIC_ASSIGN_AFTER_AUTOMATIC_TASK ="errors.workflow.dynamic_assign_is_not_allowed_after_automatic_task";
  public final static String CAN_NOT_USE_DYNAMIC_ASSIGN_DUE_DATE_AFTER_AUTOMATIC_TASK ="errors.workflow.dynamic_assign_due_date_is_not_allowed_after_automatic_task";
  public final static String CAN_NOT_USE_REPORT_TO_AFTER_AUTOMATIC_TASK ="errors.workflow.report_to_is_not_allowed_after_automatic_task";
  public final static String CAN_NOT_USE_REPORT_TO_AFTER_SUBMIT_TASK_OF_SUB_WORKFLOW_INTERRUPT ="errors.workflow.report_to_is_not_allowed_after_submit_task_of_sub_workflow_interrupt";
  public final static String CAN_NOT_USE_PREVIOUS_TAKER_AFTER_SUBMIT_TASK_OF_SUB_WORKFLOW_INTERRUPT ="errors.workflow.previous_taker_is_not_allowed_after_submit_task_of_sub_workflow_interrupt";
  public final static String CAN_NOT_STEP_DUE_DATE_EARLIER_TAHN_PREVIOUS = "errors.workflow.workflow_step_due_date_is_not_allowed_earlier_than_previous_step";
  public final static String CAN_NOT_STEP_DUE_DATE_EARLIER_THAN_START_DATE = "errors.workflow.workflow_step_due_date_is_not_allowed_earlier_than_start_date_of_workflow_record";
  public final static String CAN_NOT_CHECK_IN_STEP_AFTER_AUTOMATIC_TASK = "errors.workflow.workflow_check_in_step_is_not_allowed_after_automatic_task";
  public final static String SCHEDULE_NAME_DUPLICATE = "errors.workflow.duplicate_schedule_name"; 
  public final static String CANCEL_SCHEDULE_JOB_FAIL = "errors.workflow.cancel_schedule_job_fail";
  public final static String MUST_OPERATE_BINDING_FORM = "errors.workflow.must_operate_binding_form";
  public final static String MUST_SUBMIT_FORM = "errors.workflow.must_submit_form";
  public final static String MUST_PROCESS_THESE_BUSINESS="errors.workflow.must_process_these_business";
  
  public final static String LOG_AUTO_TASK_ERROR_CODE = "WORKFlOW-TASK-0001";
  public final static String LOG_SHCHEDULE_ERROR_CODE = "WORKFlOW-SCHEDULE-0002";
  public final static String LOG_SHCHEDULETRIGGER_CANCEL_CODE = "WORKFlOW-SCHEDULETRIGGER-CANCEL-0001";
 
  
}
